package com.ruoyi.web.controller.iot;


import com.ruoyi.common.config.RuoYiConfig;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Tag(name = "地区查询")
@RestController
@RequestMapping("/area")
public class AreaController {


    @Operation(summary = "查询当前配置地区", tags = "地区查询")
    @GetMapping("/getArea")
    public String getArea(){
        return RuoYiConfig.getArea();
    }
}
